﻿using BasicInformation.Dtos;
using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiRead.Application.Command.Category
{
    public class GetCategoryCommand:IRequest<ApiPaging<CategoryDTO>>
    {
        public int index { get; set; } = 1;
        public int size { get; set; } = 15;
        /// <summary>
        /// 类别编号(自动生产)
        /// </summary>
        public string? CategoryCode { get; set; }
        /// <summary>
        /// 类别名称
        /// </summary>
        public string? CategoryName { get; set; }
    }
}
